Sha256: cbb2af218ce45dad6e631b65a6c44260f958491ce169a507103e8358dc139256

Contents?: true

Size: 452 Bytes

Versions: 1

Compression:

Stored size: 452 Bytes

Contents

require 'spec_helper'

describe Mavenlink::StoryDependency, stub_requests: true do
  it_should_behave_like 'model', 'story_dependencies'

  describe 'associations' do
    it { should respond_to :source }
    it { should respond_to :target }
  end

  describe 'validations' do
    it { should validate_presence_of :source_id }
    it { should validate_presence_of :target_id }
    it { should validate_presence_of(:workspace_id).on(:create) }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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