Skip to content

Commit

Permalink
Fixed random issue with test case
Browse files Browse the repository at this point in the history
  • Loading branch information
farhatahmad committed Jul 28, 2020
1 parent beb9913 commit 6356903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/controllers/rooms_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ def random_valid_room_params

it "properly updates room name through the room settings modal and redirects to current page" do
@request.session[:user_id] = @user.id
name = Faker::Games::Pokemon.name
name = Faker::Name.first_name

room_params = { room_uid: @secondary_room.uid, room: { "name": name } }

Expand Down

0 comments on commit 6356903

Please sign in to comment.