diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-30 16:48:32 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-30 16:48:32 +0300 |
commit | ef4b3303118a91703291f74921aef3ef9365a5b7 (patch) | |
tree | dcc636d54af257175a78c77409c7146dbc4c70b9 /spec/lib | |
parent | 1a595c3f0fb4a80aeb3efdaeb27d084f8029fd57 (diff) | |
download | gitlab-ci-ef4b3303118a91703291f74921aef3ef9365a5b7.tar.gz |
Remvoe runner specs
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/runner_spec.rb | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/spec/lib/runner_spec.rb b/spec/lib/runner_spec.rb deleted file mode 100644 index b46aaff..0000000 --- a/spec/lib/runner_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -require 'spec_helper' - -describe Runner do - before do - end - - it "should run a success build" do - build = setup_build 'ls' - Runner.new.perform(build.id) - - build.reload - build.trace.should include 'six.gemspec' - build.should be_success - end - - it "should run a failed build" do - build = setup_build 'cat MISSING' - Runner.new.perform(build.id) - - build.reload - build.should be_failed - end - - def setup_build cmd - project = FactoryGirl.create :project, scripts: cmd - project.register_build ref: 'master' - end -end - |