Skip to content

Commit

Permalink
Switch templates to use double quotes
Browse files Browse the repository at this point in the history
It's the Collective Idea standard to use double quotes and it's also the
default for the Rails 8 rubocop configs.
  • Loading branch information
gaffneyc committed Nov 18, 2024
1 parent 9a9ad59 commit 9594e99
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* [ENHANCEMENT] Drop support for EOL Ruby and Rails versions
* [ENHANCEMENT] Change depdency from all of Rails to just railties
* [ENHANCEMENT] Prefer spec/rails_helper.rb when available
* [ENHANCEMENT] Use double quotes in templates

## 2.2.0 / 2019-09-01

Expand Down
2 changes: 1 addition & 1 deletion lib/generators/templates/spec.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require "<%= rspec_helper_file %>"

RSpec.describe <%= class_name %>, type: :interactor do
describe '.call' do
describe ".call" do
pending "add some examples to (or delete) #{__FILE__}"
end
end
10 changes: 5 additions & 5 deletions spec/interactor/rails_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def call
require "spec_helper"
RSpec.describe PlaceOrder, type: :interactor do
describe '.call' do
describe ".call" do
pending "add some examples to (or delete) \#{__FILE__}"
end
end
Expand Down Expand Up @@ -93,7 +93,7 @@ def call
require "spec_helper"
RSpec.describe Invoice::PlaceOrder, type: :interactor do
describe '.call' do
describe ".call" do
pending "add some examples to (or delete) \#{__FILE__}"
end
end
Expand Down Expand Up @@ -123,7 +123,7 @@ class PlaceOrder
require "spec_helper"
RSpec.describe PlaceOrder, type: :interactor do
describe '.call' do
describe ".call" do
pending "add some examples to (or delete) \#{__FILE__}"
end
end
Expand Down Expand Up @@ -173,7 +173,7 @@ class Invoice::PlaceOrder
require "spec_helper"
RSpec.describe Invoice::PlaceOrder, type: :interactor do
describe '.call' do
describe ".call" do
pending "add some examples to (or delete) \#{__FILE__}"
end
end
Expand All @@ -194,7 +194,7 @@ class Invoice::PlaceOrder
require "rails_helper"
RSpec.describe PlaceOrder, type: :interactor do
describe '.call' do
describe ".call" do
pending "add some examples to (or delete) \#{__FILE__}"
end
end
Expand Down

0 comments on commit 9594e99

Please sign in to comment.