Sha256: b5797eca352959953457291e503a75246780ea5dcfea0c43fbc9797bd1c2eed0
Contents?: true
Size: 745 Bytes
Versions: 4
Compression:
Stored size: 745 Bytes
Contents
require "spec_helper" RSpec.describe "bulldozer:staging:pull_requests", type: :generators do it "generates the configuration for Heroku pipeline review apps" do with_app { generate("bulldozer:staging:pull_requests") } expect("config/environments/production.rb").to \ match_contents(%r{HEROKU_APP_NAME}) expect("bin/setup_review_app").to \ match_contents(%r{APP_NAME=dummy-app-staging-pr-\$1}) end it "destroys the configuration for Heroku pipeline review apps" do with_app { destroy("bulldozer:staging:pull_requests") } expect("config/environments/production.rb").not_to \ match_contents(%r{APP_NAME=dummy-app-staging-pr-\$1}) expect("bin/setup_review_app").not_to exist_as_a_file end end
Version data entries
4 entries across 4 versions & 1 rubygems