Sha256: 32a851736d358bff636792ed9b76b32191aae729415281100cac73774307c590
Contents?: true
Size: 436 Bytes
Versions: 3
Compression:
Stored size: 436 Bytes
Contents
# encoding: utf-8 describe "$ policy new", :sandbox, :capture do let(:argv) { %w(foo) } before { try_in_sandbox { `policy new #{ argv.join(" ") }` } } it "runs a scaffolder" do %w( app/policies/foo.rb config/locales/policies/foo/en.yml config/locales/policies/foo/ru.yml spec/tests/policies/foo_spec.rb ).each { |file| expect(file).to be_present_in_sandbox } end end # describe $ policy new
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
policy-2.0.0 | spec/tests/bin/policy_spec.rb |
policy-1.2.0 | spec/tests/bin/policy_spec.rb |
policy-1.1.0 | spec/tests/bin/policy_spec.rb |