summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/options.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/options.rb b/spec/options.rb
index 25741db..0fd84d5 100644
--- a/spec/options.rb
+++ b/spec/options.rb
@@ -81,6 +81,10 @@ describe AYK::Options do
end
opts.var.should eql 666
end
+ it "should be nicely included" do
+ class A__A; include AYK::Optioned end
+ A__A.options.name.should eql 'a__a'
+ end
end
#
end