Sha256: a4f65276ee811dbe389c85d0c0b5655cfce03fa2d291e42ef9295a013325b285
Contents?: true
Size: 666 Bytes
Versions: 17
Compression:
Stored size: 666 Bytes
Contents
require "spec_helper" RSpec.describe "suspenders:production:deployment", type: :generator do it "generates the configuration for a production deployment" do rm "bin/deploy" with_app { generate("suspenders: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("suspenders: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
17 entries across 17 versions & 2 rubygems