Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- describe "Ruby books", :ruby_books do
- create_a :book
- .named :rspec
- .title "The RSpec Book: Behaviour Driven Development with Rspec, Cucumber, and Friends"
- .cost 21.75
- create_a :book
- .named :programming_ruby
- .title "Programming Ruby 1.9: The Pragmatic Programmers' Guide"
- .cost 21.10
- end
- describe "A ruby enthusiast", :ruby_enthusiast do
- uses :ruby_books
- create_a :person
- .named :yukihiro_matsumoto
- .aged 45
- .has_bought :rspec
- .has_bought :programming_ruby
- end
Add Comment
Please, Sign In to add comment