spec/adyen-admin/skin_spec.rb in adyen-admin-0.0.3 vs spec/adyen-admin/skin_spec.rb in adyen-admin-0.0.4
- old
+ new
@@ -27,9 +27,14 @@
skin,
Skin.new(:code => "Kx9axnRf", :name => "demo"),
Skin.new(:code => "vQW0fEo8", :name => "test"),
]
end
+
+ it 'sets local path' do
+ Adyen::Admin::Skin.default_path = skin_fixtures
+ Skin.all_remote.first.path.should == "#{skin_fixtures}/example-7hFAQnmt"
+ end
end
describe ".all_local" do
it 'returns the skins' do
Skin.all_local(skin_fixtures).should == [