Skip to content

Instantly share code, notes, and snippets.

@mikz
Created March 24, 2012 22:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikz/2188686 to your computer and use it in GitHub Desktop.
Save mikz/2188686 to your computer and use it in GitHub Desktop.
NoMethodError:
undefined method `split' for ["blob"]:Array
# /Users/mikz/.rvm/gems/ruby-1.9.3-p125-falcon@thesis/gems/rspec-expectations-2.9.0/lib/rspec/expectations/differ.rb:13:in `diff_as_string'
# /Users/mikz/.rvm/gems/ruby-1.9.3-p125-falcon@thesis/gems/rspec-expectations-2.9.0/lib/rspec/expectations/fail_with.rb:25:in `fail_with'
# /Users/mikz/.rvm/gems/ruby-1.9.3-p125-falcon@thesis/gems/rspec-expectations-2.9.0/lib/rspec/expectations/handler.rb:17:in `handle_matcher'
# /Users/mikz/.rvm/gems/ruby-1.9.3-p125-falcon@thesis/gems/rspec-expectations-2.9.0/lib/rspec/expectations/extensions/kernel.rb:12:in `should'
# /Users/mikz/.rvm/gems/ruby-1.9.3-p125-falcon@thesis/gems/rspec-core-2.9.0/lib/rspec/core/subject.rb:54:in `should'
# ./spec/test_spec.rb:5:in `block (2 levels) in <top (required)>'
require 'rspec'
describe "some\ntext" do
it { should include('text') }
it { should include('blob') }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment