Sha256: 221df91791e6bb4c840c472b12cba2a0352c370fe78058b8df508d899855b834
Contents?: true
Size: 530 Bytes
Versions: 5
Compression:
Stored size: 530 Bytes
Contents
require 'spec_helper' describe "Invoices" do describe 'GET /invoices/:id' do before(:each) do @plan = Factory.build(:plan, :name => "Gold", :price => 20) @contact_info = Factory.build(:contact_info) @credit_card = Factory.build(:credit_card) @subscription = Factory(:subscription, :contact_info => @contact_info, :plan => @plan, :credit_card => @credit_card) @user = Factory(:user, :subscription => @subscription) @subscription.invoice! end end end
Version data entries
5 entries across 5 versions & 1 rubygems