spec/lib/card/success_spec.rb in card-1.92.2 vs spec/lib/card/success_spec.rb in card-1.93.0
- old
+ new
@@ -1,8 +1,8 @@
# -*- encoding : utf-8 -*-
describe Card::Env::Success do
- let(:context) { Card["A"].cardname }
+ let(:context) { Card["A"].name }
let(:previous) { "/B" }
let(:home) { Card["Home"] }
def success_params params
Card::Env.save_location Card["B"]
@success = Card::Env::Success.new context, params