Sha256: 48d33c4a0859752c05cd22d4dcc74c698ea16d853ff0c369ed770515f7f38a2c

Contents?: true

Size: 406 Bytes

Versions: 2

Compression:

Stored size: 406 Bytes

Contents

require 'spec_helper'

describe GenomerPluginValidate::Group do

  before do
    @example = GenomerPluginValidate::Group::Example = Class.new
    stub(described_class).require(anything)
  end

  after do
    GenomerPluginValidate::Group.send(:remove_const,'Example')
  end

  describe "#groups" do

    subject do
      described_class.groups
    end

    its(['example']){should ==  @example}

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
genomer-plugin-validate-0.0.2 spec/genomer-plugin-validate/group_spec.rb
genomer-plugin-validate-0.0.1 spec/genomer-plugin-validate/group_spec.rb