Sha256: 9eb38218f305f5990e4adff63af838cd05ccd86896f5271b9a09ad85fba2f620

Contents?: true

Size: 230 Bytes

Versions: 3

Compression:

Stored size: 230 Bytes

Contents

require 'spec_helper'

describe Rapidfire::Attempt do
  describe "Associations" do
    it { is_expected.to belong_to(:survey) }
    it { is_expected.to belong_to(:user)    }
    it { is_expected.to have_many(:answers) }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rapidfire-4.0.0 spec/models/rapidfire/attempt_spec.rb
rapidfire-3.1.0 spec/models/rapidfire/attempt_spec.rb
rapidfire-3.0.0 spec/models/rapidfire/attempt_spec.rb