Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
Janell-Huyck committed Jan 23, 2024
1 parent c1507d2 commit c05dc4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.0
3.2.2
5 changes: 1 addition & 4 deletions spec/features/add_delete_edit_author_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def remove_author_at_index(index)
my_button = find('button', text: 'Remove Author')

# Assign a unique ID to the element
unique_id = "unique-button-id"
unique_id = 'unique-button-id'
page.execute_script("arguments[0].id = '#{unique_id}'", my_button)

# Execute the script to change the button's background color using the unique ID
Expand All @@ -32,9 +32,6 @@ def remove_author_at_index(index)
end
end




def check_field_values_by_index(index, first_name, last_name)
expect(first_name_fields[index].value).to eq(first_name)
expect(last_name_fields[index].value).to eq(last_name)
Expand Down

0 comments on commit c05dc4f

Please sign in to comment.