Sha256: 2d6ad73387edb0e9c3bf40386a8e330f84bf375f129ed71a39b438dd87a9187e
Contents?: true
Size: 397 Bytes
Versions: 32
Compression:
Stored size: 397 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 "notifies observers" do should notify_observers("plan_upgraded", :account => account, :request => request) end end
Version data entries
32 entries across 32 versions & 2 rubygems