Skip to content

Commit 74f3e92

Browse files
committed
Adding more specific error testing as per rspec's complaint
1 parent 7210632 commit 74f3e92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/lib/generators/strapi/component_generator_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def file_path(file)
5252
it "creates the query file" do
5353
expect {
5454
run_generator %w[gen_test not-a-type --strapi-params=title textContent]
55-
}.to raise_error
55+
}.to raise_error(StandardError)
5656
end
5757
end
5858
end

0 commit comments

Comments
 (0)