Guest User

Untitled

a guest
Jul 22nd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. require 'spec_helper'
  2.  
  3. module CoreSystems::Models
  4.  
  5. describe 'Currency' do
  6. it 'rocks!' do
  7. currency = Currency.new
  8.  
  9. currency.name.should == "foo"
  10. currency.some_thing.should == "bar"
  11.  
  12. currency.stub!(:some_thing).and_return("baz")
  13.  
  14. currency.some_thing.should == "baz"
  15.  
  16. currency.should be
  17. end
  18. end
  19.  
  20. end
Add Comment
Please, Sign In to add comment