Sha256: f03d62b4eba3a60260fbfe6d54b563f3d35c531a5cd8bf33c9fa373c3b2062d3

Contents?: true

Size: 319 Bytes

Versions: 6

Compression:

Stored size: 319 Bytes

Contents

require "rails_helper"

RSpec.configure do |config|
  config.before(:each) do
    TestData.uses_test_data
  end
end

RSpec.describe "Boops", type: :request do
  30.times do |i|
    it "counts the boops ##{i}" do
      expect(Boop.count).to eq(10)
      Boop.create!
      expect(Boop.count).to eq(11)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
test_data-0.3.2 example/spec/requests/boops_spec.rb
test_data-0.3.1 example/spec/requests/boops_spec.rb
test_data-0.3.0 example/spec/requests/boops_spec.rb
test_data-0.2.2 example/spec/requests/boops_spec.rb
test_data-0.2.1 example/spec/requests/boops_spec.rb
test_data-0.2.0 example/spec/requests/boops_spec.rb