Fix Style/NestedParenthesizedCalls rubocop issues

This commit is contained in:
Bertocq
2017-09-25 22:47:59 +02:00
parent 5129fc83a8
commit ca35c8b85c
6 changed files with 23 additions and 34 deletions

View File

@@ -21,10 +21,10 @@ RSpec.describe SettingsHelper, type: :helper do
Setting["feature.f2"] = ""
Setting["feature.f3"] = nil
expect(feature? "f1").to eq("active")
expect(feature? "f2").to eq(nil)
expect(feature? "f3").to eq(nil)
expect(feature? "f4").to eq(nil)
expect(feature?("f1")).to eq("active")
expect(feature?("f2")).to eq(nil)
expect(feature?("f3")).to eq(nil)
expect(feature?("f4")).to eq(nil)
end
end