Changeset [163edc50c8a9dc10d26e389089f5e7ae6cba58de] by Michael MacDonald
Revision 163edc50c8a9dc10d26e389089f5e7ae6cba58de,
committed by Michael MacDonald
· April 27th, 2010 @ 05:12 PM
Modified the way pickle handles predicates to match rspec eg
should be_empty => empty? == true and should have_charisma =>
has_charisma? == true. This avoids the ugly: Then a user should be
has_charisma. #railscamp7
http://github.com/ianwhite/pickle/commit/163edc50c8a9dc10d26e389089...
6 changed files
-
M
README.rdoc -
M
features/app/app.rb -
M
features/pickle/create_from_active_record.feature -
M
lib/pickle/parser/matchers.rb -
M
rails_generators/pickle/templates/pickle_steps.rb -
M
spec/pickle/parser/matchers_spec.rb