Skip to content

Commit

Permalink
code style fixes 2
Browse files Browse the repository at this point in the history
  • Loading branch information
23vbq committed Sep 22, 2024
1 parent 0dbef0d commit 024c0d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion todo_backend/spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
DatabaseCleaner.clean_with(:truncation)
DatabaseCleaner.strategy = :transaction
end

config.around(:each) do |example|
Faker::UniqueGenerator.clear
DatabaseCleaner.cleaning do
Expand Down
4 changes: 2 additions & 2 deletions todo_backend/spec/requests/todo_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
}

context "request is valid =>" do
before {
before {
@todos_count = ToDo.count
post '/todo', params: valid_attributes
post '/todo', params: valid_attributes
}

it "created has default values" do
Expand Down

0 comments on commit 024c0d4

Please sign in to comment.