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