Created
July 26, 2011 20:33
-
-
Save burtlo/1107941 to your computer and use it in GitHub Desktop.
Spec Results
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') | |
describe ArticleController do | |
integrate_views | |
def test_site | |
Sites['gossip'] | |
end | |
context '#index', 'no term (most recent)' do | |
context "HTML" do | |
it "should respond succesfully" do | |
get 'index', :site_name => test_site.name, :term => '' | |
response.should be_success | |
end | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#... | |
# Provides SASS functionality for our stylesheets | |
gem 'haml', '3.0.13' | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ActionView::TemplateError in 'ArticleController#index no term (most recent) HTML should respond succesfully' | |
wrong number of arguments (1 for 0) | |
On line #2 of app/views/components/global/_author_timestamp.html.erb | |
1: <span class="author_timestamp"> | |
2: <span itemprop="datePublished" datetime="<%= pubTime %>" class="timestamp"><%= friendly_timestamp(pubTime) %></span> by <%= render :partial => "components/global/author_name", :locals => { :author => author } %> | |
3: <% if(article.spoiler?) %><em class="spoiler">Spoiler Alert!!</em><% end %> | |
4: </span> | |
haml (3.0.13) lib/haml/helpers.rb:601:in `is_haml?' | |
haml (3.0.13) lib/haml/helpers/action_view_mods.rb:102:in `content_tag_with_haml' | |
app/helpers/application_helper.rb:276:in `friendly_timestamp' | |
app/views/components/global/_author_timestamp.html.erb:2 | |
/Users/fwebber/.rvm/gems/[email protected]/gems/rspec-rails-1.3.4/lib/spec/rails/extensions/action_view/base.rb:17:in `rescue in render_partial_with_base_view_path_handling' | |
/Users/fwebber/.rvm/gems/[email protected]/gems/rspec-rails-1.3.4/lib/spec/rails/extensions/action_view/base.rb:14:in `render_partial_with_base_view_path_handling' | |
haml (3.0.13) lib/haml/helpers/action_view_mods.rb:13:in `render_with_haml' | |
/Users/fwebber/.rvm/gems/[email protected]/gems/rspec-rails-1.3.4/lib/spec/rails/extensions/action_view/base.rb:29:in `render_with_mock_proxy' | |
app/views/rollups/_basic.erb:8:in `block in _run_erb_app47views47rollups47_basic46erb_locals_basic_more_pages_object_objects_title' | |
app/views/rollups/_basic.erb:5:in `each' | |
app/views/rollups/_basic.erb:5 | |
/Users/fwebber/.rvm/gems/[email protected]/gems/rspec-rails-1.3.4/lib/spec/rails/extensions/action_view/base.rb:17:in `rescue in render_partial_with_base_view_path_handling' | |
/Users/fwebber/.rvm/gems/[email protected]/gems/rspec-rails-1.3.4/lib/spec/rails/extensions/action_view/base.rb:14:in `render_partial_with_base_view_path_handling' | |
haml (3.0.13) lib/haml/helpers/action_view_mods.rb:13:in `render_with_haml' | |
/Users/fwebber/.rvm/gems/[email protected]/gems/rspec-rails-1.3.4/lib/spec/rails/extensions/action_view/base.rb:29:in `render_with_mock_proxy' | |
app/views/rollups/_index.erb:2 | |
/Users/fwebber/.rvm/gems/[email protected]/gems/rspec-rails-1.3.4/lib/spec/rails/extensions/action_view/base.rb:17:in `rescue in render_partial_with_base_view_path_handling' | |
/Users/fwebber/.rvm/gems/[email protected]/gems/rspec-rails-1.3.4/lib/spec/rails/extensions/action_view/base.rb:14:in `render_partial_with_base_view_path_handling' | |
haml (3.0.13) lib/haml/helpers/action_view_mods.rb:13:in `render_with_haml' | |
/Users/fwebber/.rvm/gems/[email protected]/gems/rspec-rails-1.3.4/lib/spec/rails/extensions/action_view/base.rb:29:in `render_with_mock_proxy' | |
app/views/article/index.html.erb:2:in `block in _run_erb_app47views47article47index46html46erb' | |
haml (3.0.13) lib/haml/helpers/action_view_mods.rb:92:in `capture_with_haml' | |
app/views/article/index.html.erb:1 | |
haml (3.0.13) lib/haml/helpers/action_view_mods.rb:13:in `render_with_haml' | |
/Users/fwebber/.rvm/gems/[email protected]/gems/rspec-rails-1.3.4/lib/spec/rails/extensions/action_view/base.rb:29:in `render_with_mock_proxy' | |
haml (3.0.13) lib/haml/helpers/action_view_mods.rb:13:in `render_with_haml' | |
/Users/fwebber/.rvm/gems/[email protected]/gems/rspec-rails-1.3.4/lib/spec/rails/extensions/action_view/base.rb:29:in `render_with_mock_proxy' | |
/Users/fwebber/.rvm/gems/[email protected]/gems/rspec-rails-1.3.4/lib/spec/rails/example/controller_example_group.rb:233:in `render' | |
app/controllers/article_controller.rb:57:in `block (2 levels) in index' | |
app/controllers/article_controller.rb:31:in `index' | |
app/controllers/application_controller.rb:94:in `block in timeout' | |
/Users/fwebber/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/timeout.rb:57:in `timeout' | |
app/controllers/application_controller.rb:93:in `timeout' | |
spec/controllers/article_controller_spec.rb:20:in `block (4 levels) in <top (required)>' | |
rspec (1.3.2) lib/spec/example/example_methods.rb:40:in `instance_eval' | |
rspec (1.3.2) lib/spec/example/example_methods.rb:40:in `block in execute' | |
/Users/fwebber/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/timeout.rb:44:in `timeout' | |
rspec (1.3.2) lib/spec/example/example_methods.rb:37:in `execute' | |
rspec (1.3.2) lib/spec/example/example_group_methods.rb:219:in `block in run_examples' | |
rspec (1.3.2) lib/spec/example/example_group_methods.rb:217:in `each' | |
rspec (1.3.2) lib/spec/example/example_group_methods.rb:217:in `run_examples' | |
rspec (1.3.2) lib/spec/example/example_group_methods.rb:103:in `run' | |
rspec (1.3.2) lib/spec/runner/example_group_runner.rb:23:in `block in run' | |
rspec (1.3.2) lib/spec/runner/example_group_runner.rb:22:in `each' | |
rspec (1.3.2) lib/spec/runner/example_group_runner.rb:22:in `run' | |
rspec (1.3.2) lib/spec/runner/options.rb:153:in `run_examples' | |
rspec (1.3.2) lib/spec/runner/command_line.rb:9:in `run' | |
rspec (1.3.2) bin/spec:5:in `<main>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment