Fix indentations

This commit is contained in:
Bertocq
2018-01-07 01:06:07 +01:00
parent ed16a78f42
commit 0698043340
3 changed files with 4 additions and 4 deletions

View File

@@ -721,7 +721,7 @@ describe Debate do
describe "#recommendations" do describe "#recommendations" do
let(:user) { create(:user) } let(:user) { create(:user) }
it "does not return any debates when user has not interests" do it "does not return any debates when user has not interests" do
create(:debate) create(:debate)

View File

@@ -169,7 +169,7 @@ describe Poll do
it "returns restricted & unrestricted polls for level 2 users of the correct geozone" do it "returns restricted & unrestricted polls for level 2 users of the correct geozone" do
list = described_class.answerable_by(level2_from_geozone) list = described_class.answerable_by(level2_from_geozone)
.order(:geozone_restricted) .order(:geozone_restricted)
expect(list.to_a).to eq([current_poll, current_restricted_poll]) expect(list.to_a).to eq([current_poll, current_restricted_poll])
end end
end end

View File

@@ -26,8 +26,8 @@ describe Verification::Residence do
it "validates user has allowed age" do it "validates user has allowed age" do
residence = described_class.new("date_of_birth(3i)" => "1", residence = described_class.new("date_of_birth(3i)" => "1",
"date_of_birth(2i)" => "1", "date_of_birth(2i)" => "1",
"date_of_birth(1i)" => 5.years.ago.year.to_s) "date_of_birth(1i)" => 5.years.ago.year.to_s)
expect(residence).to_not be_valid expect(residence).to_not be_valid
expect(residence.errors[:date_of_birth]).to include("You don't have the required age to participate") expect(residence.errors[:date_of_birth]).to include("You don't have the required age to participate")
end end