spec/lib/modes/app_spec.rb in negroku-2.5.1 vs spec/lib/modes/app_spec.rb in negroku-2.5.2

- old
+ new

@@ -2,10 +2,15 @@ describe "app cli" do describe "install cmd" do + let(:test_version){ "2.4.2" } + before(:each) do + + allow(Gems).to receive(:versions).and_return([{"number" => test_version}]) + FakeFS::FileSystem.clear FakeFS::FileSystem.clone(File.join('lib','negroku','templates')) FakeFS::FileSystem.clone(File.join('lib','negroku','locales')) FakeFS.activate!