spec/features/new_project_spec.rb in slining-1.5.0 vs spec/features/new_project_spec.rb in slining-1.6.0
- old
+ new
@@ -3,10 +3,11 @@
RSpec.describe "Slining a new project with default configuration" do
before(:all) do
drop_dummy_database
remove_project_directory
run_slining
+ setup_app_dependencies
end
it "uses custom Gemfile" do
gemfile_file = IO.read("#{project_path}/Gemfile")
expect(gemfile_file).to match(
@@ -123,12 +124,10 @@
end
it "adds explicit quiet_assets configuration" do
result = IO.read("#{project_path}/config/application.rb")
- expect(result).to match(
- /^ +config.quiet_assets = true$/
- )
+ expect(result).to match(/^ +config.assets.quiet = true$/)
end
it "raises on missing translations in development and test" do
%w[development test].each do |environment|
environment_file =