https://github.com/faun/rspec-macruby-bug
Example of bug with MacRuby and Rspec 2.11
https://github.com/faun/rspec-macruby-bug
Last synced: about 1 year ago
JSON representation
Example of bug with MacRuby and Rspec 2.11
- Host: GitHub
- URL: https://github.com/faun/rspec-macruby-bug
- Owner: faun
- Created: 2012-07-24T23:19:59.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-07-25T21:36:30.000Z (almost 14 years ago)
- Last Synced: 2025-02-05T14:15:09.465Z (over 1 year ago)
- Language: Ruby
- Size: 89.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
This bug has been fixed. See https://github.com/rspec/rspec-expectations/pull/160
1. Install MacRuby via RVM
2. `gem install bundler`
3. `bundle install`
4. `bundle exec rspec`
You should see the following error message:
F
Failures:
1) Stuff is stuff
Failure/Error: "stuff".should == "stuff"
NoMethodError:
undefined method `should' for "stuff":String
# ./spec/my_spec.rb:3:in `block'
Finished in 0.37929 seconds
1 example, 1 failure
Failed examples:
rspec ./spec/my_spec.rb:0 # Stuff is stuff