Sha256: e7798effc8188519c42f594b806429a690d33fef6c3ab3ed8f9b53201ba38693
Contents?: true
Size: 663 Bytes
Versions: 4
Compression:
Stored size: 663 Bytes
Contents
require "spec_helper" RSpec.describe "bulldozer:production:deployment", type: :generator do it "generates the configuration for a production deployment" do rm "bin/deploy" with_app { generate("bulldozer:production:deployment") } expect("bin/deploy").to exist_as_a_file expect("bin/deploy").to be_executable expect("README.md").to match_contents(%r{bin/deploy}) end it "destroys the configuration for a production deployment" do touch "bin/deploy" with_app { destroy("bulldozer:production:deployment") } expect("bin/deploy").not_to exist_as_a_file expect("README.md").not_to match_contents(%r{bin/deploy}) end end
Version data entries
4 entries across 4 versions & 1 rubygems