spec/shelly/cli/backup_spec.rb in shelly-0.2.28 vs spec/shelly/cli/backup_spec.rb in shelly-0.3.0

- old
+ new

@@ -6,10 +6,10 @@ describe Shelly::CLI::Backup do before do @backup = Shelly::CLI::Backup.new Shelly::CLI::Backup.stub(:new).and_return(@backup) @client = mock - @client.stub(:token).and_return("abc") + @client.stub(:authorize!) Shelly::Client.stub(:new).and_return(@client) FileUtils.mkdir_p("/projects/foo") Dir.chdir("/projects/foo") File.open("Cloudfile", 'w') {|f| f.write("foo-staging:\n") } @app = Shelly::App.new("foo-staging")