Sha256: b4d05c42d3a835101989d09a41858bc22309d80c6d285f5f4bb5e14e1687fa69
Contents?: true
Size: 851 Bytes
Versions: 1
Compression:
Stored size: 851 Bytes
Contents
scenario(:just_apple) do @apple = Fruit.create! :species => 'apple' end scenario(:many_apples => [:just_apple, :just_apple, :just_apple]) do end scenario(:bananas_and_apples => :just_apple) do @banana = Fruit.create! :species => 'banana' end scenario(:just_orange) do @orange = Fruit.create! :species => 'orange' end scenario(:fruit => [:just_apple,:just_orange]) do @fruit = [@orange,@apple] end scenario(:bananas_and_apples_and_oranges => [:bananas_and_apples,:just_orange]) do @fruit = [@orange,@apple,@banana] end scenario(:cherry) do @cherry = Fruit.create! :species => 'cherry', :average_diameter => 3 end # Hornsby.namespace(:pitted_fruit) do # scenario(:peach) do # @peach = Fruit.create! :species => 'peach' # end # # scenario(:nectarine) do # @nectarine = Fruit.create! :species => 'nectarine' # end # end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sinsiliux-hornsby-0.2.0 | spec/hornsby_scenario.rb |