Skip to content

Commit 4692f33

Browse files
committed
Layout/ArgumentAlignment
Offences count: with_first_argument: 13 with_fixed_indentation: 47
1 parent 8b427ef commit 4692f33

11 files changed

+13
-13
lines changed

spec/rspec/rails/example/channel_example_group_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module RSpec::Rails
44
RSpec.describe ChannelExampleGroup do
55
if RSpec::Rails::FeatureCheck.has_action_cable_testing?
66
it_behaves_like "an rspec-rails example group mixin", :channel,
7-
'./spec/channels/', '.\\spec\\channels\\'
7+
'./spec/channels/', '.\\spec\\channels\\'
88
end
99
end
1010
end

spec/rspec/rails/example/controller_example_group_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def self.abstract?; false; end
55
module RSpec::Rails
66
RSpec.describe ControllerExampleGroup do
77
it_behaves_like "an rspec-rails example group mixin", :controller,
8-
'./spec/controllers/', '.\\spec\\controllers\\'
8+
'./spec/controllers/', '.\\spec\\controllers\\'
99

1010
def group_for(klass)
1111
RSpec::Core::ExampleGroup.describe klass do

spec/rspec/rails/example/feature_example_group_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module RSpec::Rails
22
RSpec.describe FeatureExampleGroup do
33
it_behaves_like "an rspec-rails example group mixin", :feature,
4-
'./spec/features/', '.\\spec\\features\\'
4+
'./spec/features/', '.\\spec\\features\\'
55

66
it "includes Rails route helpers" do
77
with_isolated_stderr do

spec/rspec/rails/example/helper_example_group_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class InternalClass
88
subject { HelperExampleGroup }
99

1010
it_behaves_like "an rspec-rails example group mixin", :helper,
11-
'./spec/helpers/', '.\\spec\\helpers\\'
11+
'./spec/helpers/', '.\\spec\\helpers\\'
1212

1313
it "provides a controller_path based on the helper module's name" do
1414
example = double

spec/rspec/rails/example/job_example_group_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module RSpec::Rails
22
RSpec.describe JobExampleGroup do
33
if defined?(ActiveJob)
44
it_behaves_like "an rspec-rails example group mixin", :job,
5-
'./spec/jobs/', '.\\spec\\jobs\\'
5+
'./spec/jobs/', '.\\spec\\jobs\\'
66
end
77
end
88
end

spec/rspec/rails/example/mailer_example_group_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ module ::Rails; end
88
end
99

1010
it_behaves_like "an rspec-rails example group mixin", :mailer,
11-
'./spec/mailers/', '.\\spec\\mailers\\'
11+
'./spec/mailers/', '.\\spec\\mailers\\'
1212
end
1313
end
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module RSpec::Rails
22
RSpec.describe ModelExampleGroup do
33
it_behaves_like "an rspec-rails example group mixin", :model,
4-
'./spec/models/', '.\\spec\\models\\'
4+
'./spec/models/', '.\\spec\\models\\'
55
end
66
end
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module RSpec::Rails
22
RSpec.describe RequestExampleGroup do
33
it_behaves_like "an rspec-rails example group mixin", :request,
4-
'./spec/requests/', '.\\spec\\requests\\',
5-
'./spec/integration/', '.\\spec\\integration\\',
6-
'./spec/api/', '.\\spec\\api\\'
4+
'./spec/requests/', '.\\spec\\requests\\',
5+
'./spec/integration/', '.\\spec\\integration\\',
6+
'./spec/api/', '.\\spec\\api\\'
77
end
88
end

spec/rspec/rails/example/routing_example_group_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module RSpec::Rails
22
RSpec.describe RoutingExampleGroup do
33
it_behaves_like "an rspec-rails example group mixin", :routing,
4-
'./spec/routing/', '.\\spec\\routing\\'
4+
'./spec/routing/', '.\\spec\\routing\\'
55

66
describe "named routes" do
77
it "delegates them to the route_set" do

spec/rspec/rails/example/system_example_group_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module RSpec::Rails
22
if ActionPack::VERSION::STRING >= "5.1"
33
RSpec.describe SystemExampleGroup do
44
it_behaves_like "an rspec-rails example group mixin", :system,
5-
'./spec/system/', '.\\spec\\system\\'
5+
'./spec/system/', '.\\spec\\system\\'
66

77
describe '#method_name' do
88
it 'converts special characters to underscores' do

spec/rspec/rails/example/view_example_group_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module RSpec::Rails
22
RSpec.describe ViewExampleGroup do
33
it_behaves_like "an rspec-rails example group mixin", :view,
4-
'./spec/views/', '.\\spec\\views\\'
4+
'./spec/views/', '.\\spec\\views\\'
55

66
describe 'automatic inclusion of helpers' do
77
module ::ThingsHelper; end

0 commit comments

Comments
 (0)