Sha256: 60d45f29f375a6b4f112abdc926e27dab3aba0650c61a645bed5698e09f8ee83

Contents?: true

Size: 469 Bytes

Versions: 1

Compression:

Stored size: 469 Bytes

Contents

require 'spec_helper'

describe Mavenlink::Assignment, stub_requests: true do
  it_should_behave_like 'model', 'assignments'

  it { should be_a Mavenlink::Concerns::Indestructible }

  describe 'associations' do
    it { should respond_to :story }
    it { should respond_to :assignee }
    it { should respond_to :story_allocation_days }
  end

  describe '#destroy' do
    specify { expect { subject.destroy }.to raise_error Mavenlink::RecordLockedError }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mavenlink-0.0.1 spec/lib/mavenlink/assignment_spec.rb