Sha256: b306b814bcdad65891c18445b6d2c8491fbaad68ecfbf680d5cafd157139ec9d

Contents?: true

Size: 334 Bytes

Versions: 2

Compression:

Stored size: 334 Bytes

Contents

require_relative '../../../spec_helper'
require_relative '../factories/active_meeting'

describe ActiveMeeting do
  context 'scoping' do
    it 'should apply scope' do
      expect(ActiveMeeting).to receive(:active).and_call_original
      active_meeting = ActiveMeeting.new
      expect(active_meeting).to be_valid
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
validates_overlap-0.8.0 spec/dummy/spec/models/active_meetings_spec.rb
validates_overlap-0.7.0 spec/dummy/spec/models/active_meetings_spec.rb