Skip to content

Commit

Permalink
wip! Attempt to add a failing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
pirj committed Dec 22, 2020
1 parent 4e88eb3 commit e0232e9
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -15,8 +15,14 @@ module TestFixtures

require 'rails_helper'

class SomeClass; end

RSpec.describe 'Example App', :use_fixtures, type: :model do
it "does not set up fixtures" do
expect(defined?(fixtures)).not_to be
end

it "does not crash on Rails 6.1.0", issue: 2417 do
SomeClass.new
end
end

0 comments on commit e0232e9

Please sign in to comment.