diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/lint_spec.rb | 3 | ||||
-rw-r--r-- | spec/lib/gitlab_ci_yaml_processor_spec.rb | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/spec/features/lint_spec.rb b/spec/features/lint_spec.rb index 8f030d8..9e68d9e 100644 --- a/spec/features/lint_spec.rb +++ b/spec/features/lint_spec.rb @@ -2,7 +2,6 @@ require 'spec_helper' describe "Lint" do it "Yaml parsing", js: true do - content = File.read(Rails.root.join('spec/support/gitlab_stubs/gitlab_ci.yml')) visit lint_path fill_in "content", with: content @@ -14,7 +13,5 @@ describe "Lint" do page.should have_content("Deploy Job - cap deploy") page.should have_content("Deploy Job - Deploy to staging") end - end - end diff --git a/spec/lib/gitlab_ci_yaml_processor_spec.rb b/spec/lib/gitlab_ci_yaml_processor_spec.rb index 2ce140c..22d0d6b 100644 --- a/spec/lib/gitlab_ci_yaml_processor_spec.rb +++ b/spec/lib/gitlab_ci_yaml_processor_spec.rb @@ -68,7 +68,7 @@ describe GitlabCiYamlProcessor do commands: "\nls", name: "ls", deploy: true, - refs: [], + refs: "", tag_list: "" } end @@ -85,7 +85,7 @@ describe GitlabCiYamlProcessor do commands: "pwd\nls", name: "ls", deploy: true, - refs: [], + refs: "", tag_list: "" } end @@ -102,7 +102,7 @@ describe GitlabCiYamlProcessor do commands: "pwd\nls", name: "Rspec", deploy: true, - refs: ["master", "deploy"], + refs: "master,deploy", tag_list: "" } end |