Skip to content

Commit

Permalink
add tests to spec, fix test pattern, fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux authored and LightGuard committed Mar 8, 2013
1 parent 9745529 commit c29f4af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if !defined?(RSpec)
else
desc "Run all examples"
RSpec::Core::RakeTask.new(:spec) do |t|
t.pattern = 'spec/**/*.rb'
t.pattern = 'spec/*_spec.rb'
t.rspec_opts = ['-cfs']
end
end
Expand Down
1 change: 1 addition & 0 deletions awestruct.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ spec = Gem::Specification.new do |s|
s.files = [
Dir['lib/**/*.rb'],
Dir['lib/**/*.haml'],
Dir['spec/**/**'],
Dir['man/*.1'],
].flatten
s.executables = [
Expand Down
2 changes: 1 addition & 1 deletion spec/astruct_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

require 'awestruct/astruct'

require 'awestruct/page'

describe Awestruct::AStruct do

Expand Down

0 comments on commit c29f4af

Please sign in to comment.