spec/adyen-admin/skin_spec.rb in adyen-admin-0.0.15 vs spec/adyen-admin/skin_spec.rb in adyen-admin-0.0.16

- old
+ new

@@ -27,11 +27,11 @@ Adyen::Admin::Skin.purge_cache end describe ".all_remote" do it 'returns the skins' do - Skin.all_remote.should == [ + Skin.all_remote.should =~ [ skin, Skin.new(:code => "Kx9axnRf", :name => "demo"), Skin.new(:code => "vQW0fEo8", :name => "test"), ] end @@ -42,21 +42,21 @@ end end describe ".all_local" do it 'returns the skins' do - Skin.all_local.should == [ + Skin.all_local.should =~ [ Skin.new(:code => "base"), - Skin.new(:code => "DV3tf95f"), skin, + Skin.new(:code => "DV3tf95f"), Skin.new(:code => "JH0815"), ] end end describe ".all" do it 'returns the skins' do - Skin.all.should == [ + Skin.all.should =~ [ skin, Skin.new(:code => "Kx9axnRf", :name => "demo"), Skin.new(:code => "vQW0fEo8", :name => "test"), Skin.new(:code => "base"), Skin.new(:code => "DV3tf95f"),