Skip to content

explicilty require 'set' to get the specs working #30

merged 1 commit into from Nov 14, 2011

2 participants

senny commented Nov 14, 2011

I just cloned the project and tried running the specs and got a lot of NameErrors

       uninitialized constant RSpec::Core::ExampleGroup::Nested_22::Nested_2::Nested_2::Set

I saw in the specs that you expect the Class AttributeSet to respond to to_set.

    its(:to_set) { should == Set[ attribute ] }

Since this is defined in the set-library from Std.-Lib I added a require statement to the virtus init-file.

solnic commented Nov 14, 2011

@senny thank you! I wonder why nobody noticed that before!

@solnic solnic merged commit 64c7eae into solnic:master Nov 14, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.