public
Fork of pd/rspec_hpricot_matchers
Description: have_tag() without Rails' assert_select()
Homepage:
Clone URL: git://github.com/collectiveidea/rspec_hpricot_matchers.git
brandon (author)
Thu Dec 04 14:57:59 -0800 2008
commit  e0f5cbc59d57f5ac8a4a0323824c17f42fd9be31
tree    1200ba5b5950b566369c54750adffffb0d56c637
parent  9b0f079e4e8ac22a6cc68a27798e990f522fc627
100644 25 lines (21 sloc) 0.849 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require 'rake/gempackagetask'
require 'spec/rake/spectask'
 
task :default => :spec
Spec::Rake::SpecTask.new
 
gemspec = Gem::Specification.new do |spec|
  spec.name = 'rspec_hpricot_matchers'
  spec.summary = "Implementation of have_tag() rspec matcher using Hpricot"
  spec.version = '0.1'
  spec.author = 'Kyle Hargraves'
  spec.email = 'philodespotos@gmail.com'
  spec.description = <<-END
rspec_hpricot_matchers provides an implementation of rspec_on_rails'
have_tag() matcher which does not depend on Rails' assert_select.
Using Hpricot instead, the matcher is available to non-Rails projects,
and enjoys the full flexibility of Hpricot's advanced CSS and XPath
selector support.
END
  spec.files = FileList['lib/**/*', 'spec/**/*', 'README', 'MIT-LICENSE', 'Rakefile']
end
 
Rake::GemPackageTask.new(gemspec) do |spec|
end