Sha256: a6c056be5358ce97fc3dd79d33eebd892f12edfd2f4cb48e36564d33e475449e

Contents?: true

Size: 364 Bytes

Versions: 2

Compression:

Stored size: 364 Bytes

Contents

require 'rails_helper'

module Quizzes
  RSpec.describe User, type: :model do

    it "responds to games" do
      expect(subject).to respond_to(:games)
    end

    it "responds to questions" do
      expect(subject).to respond_to(:game_questions)
    end

    it "responds to game questions" do
      expect(subject).to respond_to(:questions)
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
quizzes-0.1.1 spec/models/quizzes/user_spec.rb
quizzes-0.1.0 spec/models/quizzes/user_spec.rb