spec/template_spec.rb in atpay_buttons-1.1.1 vs spec/template_spec.rb in atpay_buttons-1.1.2

- old
+ new

@@ -6,10 +6,10 @@ let(:subject) { AtPay::Button::Template.new options } let(:subject_class) { AtPay::Button::Template } describe "#new" do it "adds the provided options to the defaults" do - subject.instance_eval{ @options }.keys.sort.must_equal [:subject, :title, :color, :image, :processor, :destination, :templates, :email, :amount, :wrap].sort + subject.instance_eval{ @options }.keys.sort.must_equal [:subject, :title, :background_color, :foreground_color, :image, :processor, :destination, :templates, :email, :amount, :wrap, :wrap_text].sort end end describe "#render" do it "renders yahoo specific templates for yahoo providers" do