spec/hexx/coercible_spec.rb in hexx-6.0.0 vs spec/hexx/coercible_spec.rb in hexx-6.0.1
- old
+ new
@@ -21,28 +21,9 @@
# ==========================================================================
# Run tests
# ==========================================================================
- describe ".coersion" do
-
- it "is defined" do
- expect(test_model).to respond_to :coersion
- end
-
- it "is set by default" do
- expect(test_model.coersion).to be_kind_of Module
- end
- end
-
- describe ".coersion=" do
-
- it "sets the .coersion" do
- expect { test_model.coersion = test_module }
- .to change { test_model.coersion }.to test_module
- end
- end
-
describe ".attr_coerced" do
before { test_model.send :attr_coerced, :name, type: test_coersion }
subject { test_model.new }