spec/app_spec.rb in furoshiki-0.3.0 vs spec/app_spec.rb in furoshiki-0.3.1
- old
+ new
@@ -39,10 +39,12 @@
Dir.chdir @app_dir do
expect(subject.default_package_dir).to eq(@app_dir.join 'pkg')
end
end
- its(:template_path) { should eq(cache_dir.join('shoes-app-template.zip')) }
+ it "caches current version of template" do
+ expect(subject.template_path).to eq(cache_dir.join('shoes-app-template-0.0.2.zip'))
+ end
its(:remote_template_url) { should eq(Furoshiki::Configuration::JAR_APP_TEMPLATE_URL) }
end
context "when creating a .app" do
before :all do