spec/unit/render/generator_spec.rb in render-0.0.2 vs spec/unit/render/generator_spec.rb in render-0.0.3

- old
+ new

@@ -4,19 +4,19 @@ describe Generator do it "exists" do expect { Generator }.to_not raise_error end - describe "attributes" do + describe "properties" do before(:each) do @mandatory_options = { algorithm: proc {} } end it "is a type-specific generator for flexibility" do Generator.new(@mandatory_options.merge({ type: String })).type.should == String end - it "has a matcher to only be used on specific attributes" do + it "has a matcher to only be used on specific properties" do matcher = %r{.*name.*} Generator.new(@mandatory_options.merge({ matcher: matcher })).matcher.should == matcher end describe "#algorith" do