Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Autoloading Version added specs for Version and Compatibility.

  • Loading branch information...
commit 91f414847e39f4e46f673e15db9b563c5fb9b064 1 parent 1c18ea9
@jnunemaker authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.