Skip to content
Browse files

Autoloading Version added specs for Version and Compatibility.

  • Loading branch information...
1 parent 1c18ea9 commit 91f414847e39f4e46f673e15db9b563c5fb9b064 @jnunemaker committed
Showing with 9 additions and 0 deletions.
  1. +1 −0 lib/bin.rb
  2. +8 −0 spec/bin_spec.rb
View
1 lib/bin.rb
@@ -6,4 +6,5 @@
module Bin
autoload :Compatibility, 'bin/compatibility'
autoload :Store, 'bin/store'
+ autoload :Version, 'bin/version'
end
View
8 spec/bin_spec.rb
@@ -4,4 +4,12 @@
it "autoloads Store" do
lambda { Bin::Store }.should_not raise_error(NameError)
end
+
+ it "autoloads Compatibility" do
+ lambda { Bin::Compatibility }.should_not raise_error(NameError)
+ end
+
+ it "autoloads Version" do
+ lambda { Bin::Version }.should_not raise_error(NameError)
+ end
end

0 comments on commit 91f4148

Please sign in to comment.
Something went wrong with that request. Please try again.