Skip to content

Commit

Permalink
Use consistent spec language
Browse files Browse the repository at this point in the history
  • Loading branch information
jonallured committed Feb 24, 2024
1 parent 75372be commit 9ab43f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/system/crud/csv_uploads/admin_views_csv_upload_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
expect(page).to have_current_path crud_csv_upload_path(csv_upload)
end

scenario "views CsvUpload" do
scenario "viewing a record" do
csv_upload = FactoryBot.create(
:csv_upload,
data: "foo,bar,baz",
Expand All @@ -38,7 +38,7 @@
expect(page.find("code").text).to eq csv_upload.data
end

scenario "views random CsvUpload" do
scenario "views random record" do
csv_upload = FactoryBot.create(:csv_upload)
expect(CsvUpload).to receive(:random).and_return(csv_upload)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require "rails_helper"

describe "Admin views CsvUploads" do
describe "Admin views csv uploads" do
include_context "admin password matches"

scenario "from dashboard" do
Expand Down

0 comments on commit 9ab43f5

Please sign in to comment.