Change single quotes to double quotes

This commit is contained in:
Julian Herrero
2019-02-01 16:48:49 +01:00
parent 4a12425987
commit 31ac8b7f55
302 changed files with 6403 additions and 6403 deletions

View File

@@ -1,17 +1,17 @@
require 'rails_helper'
require "rails_helper"
describe 'Communities Rake' do
describe "Communities Rake" do
describe '#associate_community' do
describe "#associate_community" do
let :run_rake_task do
Rake::Task['communities:associate_community'].reenable
Rake.application.invoke_task 'communities:associate_community'
Rake::Task["communities:associate_community"].reenable
Rake.application.invoke_task "communities:associate_community"
end
context 'Associate community to Proposal' do
context "Associate community to Proposal" do
it 'When proposal has not community_id' do
it "When proposal has not community_id" do
proposal = create(:proposal)
proposal.update(community_id: nil)
expect(proposal.community).to be_nil
@@ -23,9 +23,9 @@ describe 'Communities Rake' do
end
end
context 'Associate community to Budget Investment' do
context "Associate community to Budget Investment" do
it 'When budget investment has not community_id' do
it "When budget investment has not community_id" do
investment = create(:budget_investment)
investment.update(community_id: nil)
expect(investment.community).to be_nil