Sha256: 14d8a81926c75a84d9d5f1734d8dbcbbae1b41a44d3118f03cc86e503fb9e761

Contents?: true

Size: 881 Bytes

Versions: 21

Compression:

Stored size: 881 Bytes

Contents

require 'spec_helper'

describe DynamicFieldsets::InstructionField do
  it "needs tests"
  before do
    @instruction = DynamicFieldsets::InstructionField.new
  end
  subject { @instruction }

  # instance methods

  describe ".show_partial" do
    it "should use the intstruction show partial" do
      @instruction.show_partial.should == "/dynamic_fieldsets/show_partials/show_instruction"
    end
  end

  describe ".use_form_header_partial?" do
    it "should return false" do
      @instruction.use_form_header_partial?.should be_false
    end
  end

  describe ".use_form_footer_partial?" do
    it "should return false" do
      @instruction.use_form_footer_partial?.should be_false
    end
  end

  describe ".form_partial_locals" do
    it "should call super"
    it "should set the label"
  end

  describe ".update_field_records" do
    it "should do nothing"
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
dynamic_fieldsets-0.1.20 spec/models/instruction_field_spec.rb
dynamic_fieldsets-0.1.19 spec/models/instruction_field_spec.rb
dynamic_fieldsets-0.1.18 spec/models/instruction_field_spec.rb
dynamic_fieldsets-0.1.17 spec/models/instruction_field_spec.rb
dynamic_fieldsets-0.1.16 spec/models/instruction_field_spec.rb
dynamic_fieldsets-0.1.15 spec/models/instruction_field_spec.rb
dynamic_fieldsets-0.1.14 spec/models/instruction_field_spec.rb
dynamic_fieldsets-0.1.13 spec/models/instruction_field_spec.rb
dynamic_fieldsets-0.1.12 spec/models/instruction_field_spec.rb
dynamic_fieldsets-0.1.11 spec/models/instruction_field_spec.rb
dynamic_fieldsets-0.1.10 spec/models/instruction_field_spec.rb
dynamic_fieldsets-0.1.9 spec/models/instruction_field_spec.rb
dynamic_fieldsets-0.1.8 spec/models/instruction_field_spec.rb
dynamic_fieldsets-0.1.7 spec/models/instruction_field_spec.rb
dynamic_fieldsets-0.1.6 spec/models/instruction_field_spec.rb
dynamic_fieldsets-0.1.5 spec/models/instruction_field_spec.rb
dynamic_fieldsets-0.1.4 spec/models/instruction_field_spec.rb
dynamic_fieldsets-0.1.3 spec/models/instruction_field_spec.rb
dynamic_fieldsets-0.1.2 spec/models/instruction_field_spec.rb
dynamic_fieldsets-0.1.1 spec/models/instruction_field_spec.rb