Permalink
Browse files

Make this file actually runnable.

  • Loading branch information...
1 parent aa33d8b commit 2393afe4b45053025a06001fafb28797034b0d1a @jdunphy jdunphy committed Dec 16, 2008
Showing with 16 additions and 7 deletions.
  1. +2 −1 merb_sequel/TODO
  2. +10 −6 merb_sequel/spec/merb_sequel_spec.rb
  3. +4 −0 merb_sequel/spec/spec_helper.rb
View
@@ -1,2 +1,3 @@
TODO:
-* More meaningful messages for cases with misconfigured database.yml.
+* More meaningful messages for cases with misconfigured database.yml.
+* Some specs would be nice.
@@ -1,15 +1,19 @@
require File.dirname(__FILE__) + "/spec_helper"
+describe Merb::Orms::Sequel::Connect do
+ it "is loaded at plugin bootstrap" do
+ defined?(Merb::Orms::Sequel::Connect).should == "constant"
+ end
+
+ it "is a merb BootLoader" do
+ Merb::Orms::Sequel::Connect.superclass.should eql(Merb::BootLoader)
+ end
+end
+
describe "merb_sequel" do
it "should do nothing" do
true.should == true
end
end
-
-describe "merb_sequel Generators" do
- it "should description" do
-
- end
-end
@@ -1 +1,5 @@
$:.push File.join(File.dirname(__FILE__), "..", "lib")
+require 'rubygems'
+require 'spec'
+require 'merb-core'
+require File.join( File.dirname(__FILE__), "..", "lib", 'merb_sequel')

0 comments on commit 2393afe

Please sign in to comment.