Skip to content

Commit 42166b7

Browse files
committed
Remove weird symbols
1 parent 2865832 commit 42166b7

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

features/directory_structure.feature

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ Feature: Directory Structure
3636
`RSpec.describe` block with the `type: :controller` metadata:
3737

3838
```ruby
39-
# spec/legacy/things_controller_spec.rb
39+
# spec/legacy/things_controller_spec.rb
4040
RSpec.describe ThingsController, type: :controller do
4141
describe "GET index" do
42-
# Examples
42+
# Examples
4343
end
4444
end
4545
```
@@ -59,7 +59,7 @@ Feature: Directory Structure
5959
In RSpec 3, this behavior must be explicitly enabled:
6060

6161
```ruby
62-
# spec/rails_helper.rb
62+
# spec/rails_helper.rb
6363
RSpec.configure do |config|
6464
config.infer_spec_type_from_file_location!
6565
end
@@ -75,7 +75,7 @@ Feature: Directory Structure
7575
If you want to set metadata for a custom directory that doesn't follow fit the canonical structure above, you can do the following:
7676

7777
```ruby
78-
# set `:type` for serializers directory
78+
# set `:type` for serializers directory
7979
RSpec.configure do |config|
8080
config.define_derived_metadata(:file_path => Regexp.new('/spec/serializers/')) do |metadata|
8181
metadata[:type] = :serializer
@@ -101,37 +101,37 @@ Feature: Directory Structure
101101
│   └── books_helper.rb
102102
├── models
103103
│   ├── author.rb
104-
│   ── book.rb
104+
│   ── book.rb
105105
└── views
106106
├── books
107-
── layouts
107+
── layouts
108108
lib
109109
├── country_map.rb
110110
├── development_mail_interceptor.rb
111111
├── enviroment_mail_interceptor.rb
112112
└── tasks
113-
── irc.rake
113+
── irc.rake
114114
spec
115115
├── controllers
116-
│   ── books_controller_spec.rb
116+
│   ── books_controller_spec.rb
117117
├── country_map_spec.rb
118118
├── features
119-
│   ── tracking_book_delivery_spec.rb
119+
│   ── tracking_book_delivery_spec.rb
120120
├── helpers
121121
│   └── books_helper_spec.rb
122122
├── models
123123
│   ├── author_spec.rb
124-
│   ── book_spec.rb
124+
│   ── book_spec.rb
125125
├── rails_helper.rb
126126
├── requests
127-
│   ── books_spec.rb
127+
│   ── books_spec.rb
128128
├── routing
129129
│   └── books_routing_spec.rb
130130
├── spec_helper.rb
131-
── tasks
132-
│   ── irc_spec.rb
131+
── tasks
132+
│   ── irc_spec.rb
133133
└── views
134-
── books
134+
── books
135135

136136
Scenario: Standard Rails specs must specify the `:type` metadata
137137
Given a file named "spec/functional/widgets_controller_spec.rb" with:

0 commit comments

Comments
 (0)