Change single quotes to double quotes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
require 'rails_helper'
|
||||
require "rails_helper"
|
||||
|
||||
describe 'rake map_locations:destroy' do
|
||||
describe "rake map_locations:destroy" do
|
||||
before do
|
||||
create(:map_location, :proposal_map_location)
|
||||
empty_location = create(:map_location, :proposal_map_location)
|
||||
@@ -9,10 +9,10 @@ describe 'rake map_locations:destroy' do
|
||||
end
|
||||
|
||||
let :run_rake_task do
|
||||
Rake.application.invoke_task('map_locations:destroy')
|
||||
Rake.application.invoke_task("map_locations:destroy")
|
||||
end
|
||||
|
||||
it 'destroys empty locations' do
|
||||
it "destroys empty locations" do
|
||||
expect(MapLocation.all.size).to eq(2)
|
||||
run_rake_task
|
||||
expect(MapLocation.all.size).to eq(1)
|
||||
|
||||
Reference in New Issue
Block a user