spec/lib/shamu/attributes_spec.rb in shamu-0.0.13 vs spec/lib/shamu/attributes_spec.rb in shamu-0.0.14
- old
+ new
@@ -54,9 +54,13 @@
end
it "is false if the attribute has not been set" do
expect( klass.new ).not_to be_set :name
end
+
+ it "has per attribute set? method" do
+ expect( klass.new( name: "Set" ).name_set? ).to be_truthy
+ end
end
describe "delegate" do
it "delegates to another method" do