spec/lib/fourchette/fork_spec.rb in fourchette-0.0.8 vs spec/lib/fourchette/fork_spec.rb in fourchette-0.1.0

- old
+ new

@@ -20,37 +20,9 @@ 'FOURCHETTE_HEROKU_APP_PREFIX' => 'my-fork', 'FOURCHETTE_HEROKU_APP_TO_FORK' => 'my-heroku-app-name' }) end - describe '#update' do - before do - subject.stub(:create_unless_exists) - subject.stub(:monitor_build) - Fourchette::Heroku.any_instance.stub_chain(:client, :build, :create) - end - - after do - # subject.update - end - - it 'calls #create_unless_exists' do - subject.should_receive(:create_unless_exists) - - end - - it 'starts the build process with the generated tarball URL' do - heroku_client_stub = double - heroku_client_stub.stub(:build) - heroku_client_stub.build.should_receive(:create) - Fourchette::Heroku.any_instance.stub(:client).and_return(heroku_client_stub) - subject.update - end - - it 'starts monitoring the build' do - end - end - describe '#create' do it 'calls #update and #create_unless_exists' do subject.should_receive(:create_unless_exists) subject.should_receive(:update) subject.create \ No newline at end of file