Sha256: c508c4fadd29a16a0f2c0f04b41dff94e6ad049ecedc278e9a67b5247edb373d

Contents?: true

Size: 409 Bytes

Versions: 11

Compression:

Stored size: 409 Bytes

Contents

require 'spec_helper'

describe Siblings::InstructionsController do
  describe "GET index" do
    it "assigns all siblings instructions to @siblings_instructions" do
      siblings_instructions = stub_model(Sibling::Instruction)
      Sibling::Instruction.stub(:order) { [siblings_instructions] }
      get :index
      expect(assigns(:siblings_instructions)).to eq([siblings_instructions])
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
g5_sibling_deployer_engine-0.7.0 spec/controllers/siblings/instructions_controller_spec.rb
g5_sibling_deployer_engine-0.6.3 spec/controllers/siblings/instructions_controller_spec.rb
g5_sibling_deployer_engine-0.6.2 spec/controllers/siblings/instructions_controller_spec.rb
g5_sibling_deployer_engine-0.6.1 spec/controllers/siblings/instructions_controller_spec.rb
g5_sibling_deployer_engine-0.5.0 spec/controllers/siblings/instructions_controller_spec.rb
g5_sibling_deployer_engine-0.4.2 spec/controllers/siblings/instructions_controller_spec.rb
g5_sibling_deployer_engine-0.4.1 spec/controllers/siblings/instructions_controller_spec.rb
g5_sibling_deployer_engine-0.4.0 spec/controllers/siblings/instructions_controller_spec.rb
g5_sibling_deployer_engine-0.3.3 spec/controllers/siblings/instructions_controller_spec.rb
g5_sibling_deployer_engine-0.3.2 spec/controllers/siblings/instructions_controller_spec.rb
g5_sibling_deployer_engine-0.2.6 spec/controllers/siblings/instructions_controller_spec.rb