Sha256: e26ac3e32a60ef2be678ff5270560f9c838ac3ae77bf1afa5b111bbed749e100

Contents?: true

Size: 382 Bytes

Versions: 6

Compression:

Stored size: 382 Bytes

Contents

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

describe ActiveMeeting do

  before(:all) do
    ActiveMeeting.delete_all
  end

  context "scoping" do
    it "should apply scope" do
      ActiveMeeting.should_receive(:active).and_call_original
      active_meeting = ActiveMeeting.new
      active_meeting.should be_valid
    end
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
validates_overlap-0.6.0 spec/dummy/spec/models/active_meetings_spec.rb
validates_overlap-0.5.2 spec/dummy/spec/models/active_meetings_spec.rb
validates_overlap-0.5.1 spec/dummy/spec/models/active_meetings_spec.rb
validates_overlap-0.5.0 spec/dummy/spec/models/active_meetings_spec.rb
validates_overlap-0.4.0 spec/dummy/spec/models/active_meetings_spec.rb
validates_overlap-0.3.0 spec/dummy/spec/models/active_meetings_spec.rb