spec/rails_spec.rb in figaro-1.0.0.rc1 vs spec/rails_spec.rb in figaro-1.0.0

- old
+ new

@@ -1,7 +1,5 @@ -require "spec_helper" - describe Figaro::Rails do before do run_simple(<<-CMD) rails new example \ --skip-gemfile \ @@ -45,22 +43,8 @@ EOL run_simple("rails runner 'puts Rails.application.config.foo'") assert_partial_output("bar", all_stdout) - end - end - - describe "rails generate figaro:install" do - it "generates application.yml" do - run_simple("rails generate figaro:install") - - check_file_presence(["config/application.yml"], true) - end - - it "ignores application.yml" do - run_simple("rails generate figaro:install") - - check_file_content(".gitignore", %r(^/config/application\.yml$), true) end end end