Guest User

Untitled

a guest
Mar 17th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. class FeaturesAlt < ProductPricing::Features
  2.  
  3. end
  4.  
  5. describe "set_my_fixture_class" do
  6.  
  7. my_fixtures "product_pricing:features"
  8. set_my_fixture_class "product_pricing:features" => FeaturesAlt
  9.  
  10. it "should use the other class"
  11. product_pricing_features(:some_fixture).should be_an_instance_of(FeaturesAlt)
  12. end
  13.  
  14. end
Add Comment
Please, Sign In to add comment