Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class FeaturesAlt < ProductPricing::Features
- end
- describe "set_my_fixture_class" do
- my_fixtures "product_pricing:features"
- set_my_fixture_class "product_pricing:features" => FeaturesAlt
- it "should use the other class"
- product_pricing_features(:some_fixture).should be_an_instance_of(FeaturesAlt)
- end
- end
Add Comment
Please, Sign In to add comment