Sha256: 419dad2403c33eb5537fde17815e8383d5d13162781ef08e141f99ce2605ed31
Contents?: true
Size: 384 Bytes
Versions: 9
Compression:
Stored size: 384 Bytes
Contents
require 'spec_helper' describe PlansController, "successful update", :as => :account_admin do before do Account.stubs(:find_by_keyword! => account) account.stubs(:save_customer_and_subscription! => true) put :update, :account_id => account.to_param end it "sets the upgraded plan id in the flash" do flash[:upgrade_plan_id].should == account.plan_id end end
Version data entries
9 entries across 9 versions & 1 rubygems