spec/wally/feature_spec.rb in wally-0.0.29 vs spec/wally/feature_spec.rb in wally-0.0.30
- old
+ new
@@ -17,7 +17,13 @@
it "stores the feature content" do
subject.gherkin = {"meh" => "ble"}
subject.save
Feature.all.first.gherkin.should == {"meh" => "ble"}
end
+
+ it "stores the feature name" do
+ subject.gherkin = {"name" => "ble"}
+ subject.save
+ Feature.all.first.name.should == "ble"
+ end
end
end