Skip to content

Commit

Permalink
fixup! Change the wording to match balancing examples
Browse files Browse the repository at this point in the history
  • Loading branch information
pirj committed Mar 9, 2020
1 parent 5bab9ea commit 2b54146
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spec/generators/rspec/install/install_generator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,28 +99,28 @@ def filter_rails_from_backtrace
hide_const("ActiveRecord")
end

it "requires rspec/rails" do
specify "requiring rspec/rails" do
run_generator
expect(rails_helper).to require_rspec_rails
end

it "does not include config.use_active_record" do
specify "without ActiveRecord" do
run_generator
expect(rails_helper).not_to have_active_record_enabled
expect(rails_helper).to have_active_record_disabled
end

it "does not include config.fixture_path" do
specify "without fixture path" do
run_generator
expect(rails_helper).not_to have_a_fixture_path
end

it "does not include config.use_transactional_fixtures" do
specify "without transactional fixtures" do
run_generator
expect(rails_helper).not_to have_transactional_fixtures_enabled
end

it "does not check use active record migration options" do
specify "without schema maintenance checks" do
run_generator
expect(rails_helper).not_to use_active_record_migration
expect(rails_helper).not_to maintain_test_schema
Expand Down

0 comments on commit 2b54146

Please sign in to comment.