master/spec/guard_spec.rb

22 lines
380 B
Ruby
Raw Normal View History

2010-10-18 19:45:31 +00:00
require 'spec_helper'
describe Guard do
describe "get_guard_class" do
it "should return Guard::RSpec" do
Guard.get_guard_class('rspec').should == Guard::RSpec
end
end
describe "locate_guard" do
2010-10-20 20:40:44 +00:00
it "should return guard-rspec gem path" do
Guard.locate_guard('rspec').should match(/^.*\/guard-rspec-.*$/)
end
end
2010-10-18 19:45:31 +00:00
end