Skip to content

Instantly share code, notes, and snippets.

@dchelimsky
Created December 3, 2008 18:48
Show Gist options
  • Save dchelimsky/31640 to your computer and use it in GitHub Desktop.
Save dchelimsky/31640 to your computer and use it in GitHub Desktop.
1)
ArgumentError in 'send_email behaviour_type should pass otherwise'
wrong number of arguments (1 for 0)
./vendor/plugins/rspec-rails/spec/rails/matchers/assert_select_spec.rb:666:
2)
ArgumentError in 'send_email behaviour_type should fail with nothing sent'
wrong number of arguments (1 for 0)
./vendor/plugins/rspec-rails/spec/rails/matchers/assert_select_spec.rb:658:
3)
'have_rjs behaviour_type should find rjs using :insert (positioned)' FAILED
Expected at most 1 element matching "div", found 4.
<false> is not true.
./vendor/plugins/rspec-rails/spec/rails/matchers/assert_select_spec.rb:597:
./vendor/plugins/rspec-rails/spec/rails/matchers/assert_select_spec.rb:596:
4)
'have_rjs behaviour_type should find rjs using :insert_html (non-positioned)' FAILED
Expected at most 1 element matching "div", found 4.
<false> is not true.
./vendor/plugins/rspec-rails/spec/rails/matchers/assert_select_spec.rb:571:
./vendor/plugins/rspec-rails/spec/rails/matchers/assert_select_spec.rb:570:
5)
'have_rjs behaviour_type should find rjs using :replace_html' FAILED
Expected at least 2 elements matching "div", found 4.
<false> is not true.
./vendor/plugins/rspec-rails/spec/rails/matchers/assert_select_spec.rb:549:
./vendor/plugins/rspec-rails/spec/rails/matchers/assert_select_spec.rb:548:
6)
'have_rjs behaviour_type should find rjs using :replace' FAILED
Expected at most 1 element matching "div", found 4.
<false> is not true.
./vendor/plugins/rspec-rails/spec/rails/matchers/assert_select_spec.rb:531:
./vendor/plugins/rspec-rails/spec/rails/matchers/assert_select_spec.rb:530:
7)
'have_rjs behaviour_type should find by id' FAILED
expected: 1,
got: 4 (using ==)
./vendor/plugins/rspec-rails/spec/rails/matchers/assert_select_spec.rb:498:
./vendor/plugins/rspec-rails/spec/rails/matchers/assert_select_spec.rb:497:
8)
'should have_tag assert_select_from_rjs with multiple items' FAILED
Expected at least 1 element matching "div", found 0.
<false> is not true.
./vendor/plugins/rspec-rails/spec/rails/matchers/assert_select_spec.rb:393:
9)
'should have_tag assert_select_from_rjs with one item' FAILED
Expected at least 1 element matching "div", found 0.
<false> is not true.
./vendor/plugins/rspec-rails/spec/rails/matchers/assert_select_spec.rb:351:
10)
'should have_tag should find specific numbers of elements' FAILED
expected Spec::Expectations::ExpectationNotMetError with "should not have tag(\"div\"), but did", got #<Spec::Expectations::ExpectationNotMetError: should not have tag(#<HTML::Node:0x3465390 @parent=nil, @line=0, @position=0, @children=[#<HTML::Tag:0x3464fe4 @parent=#<HTML::Node:0x3465390 ...>, @name="div", @line=1, @closing=nil, @position=0, @attributes={"id"=>"1"}, @children=[#<HTML::Text:0x3464e68 @parent=#<HTML::Tag:0x3464fe4 ...>, @line=1, @position=12, @content="", @children=[]>]>, #<HTML::Tag:0x3464a1c @parent=#<HTML::Node:0x3465390 ...>, @name="div", @line=1, @closing=nil, @position=18, @attributes={"id"=>"2"}, @children=[#<HTML::Text:0x346479c @parent=#<HTML::Tag:0x3464a1c ...>, @line=1, @position=30, @content="", @children=[]>]>]>, "div"), but did>
./vendor/plugins/rspec-rails/spec/rails/matchers/assert_select_spec.rb:99:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment