Skip to content

Commit

Permalink
v0.3.0.beta2
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Dec 17, 2013
1 parent e448fe7 commit 82fd009
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -6,4 +6,6 @@

* Remove opal-sprockets dependency - build tools now part of opal.

* Replaced browser formatter to use html printer from rspec

## 0.2.1 2013-11-24
2 changes: 1 addition & 1 deletion lib/opal/rspec/version.rb
@@ -1,5 +1,5 @@
module Opal
module RSpec
VERSION = '0.3.0.beta1'
VERSION = '0.3.0.beta2'
end
end
2 changes: 1 addition & 1 deletion opal-rspec.gemspec
Expand Up @@ -15,7 +15,7 @@ Gem::Specification.new do |s|

s.require_paths = ['lib']

s.add_dependency 'opal', ['>= 0.5.0', '< 1.0.0']
s.add_dependency 'opal', ['>= 0.6.0', '< 1.0.0']

s.add_development_dependency 'rake'
end
Expand Down
4 changes: 2 additions & 2 deletions opal/opal/rspec/browser_formatter.rb
Expand Up @@ -58,7 +58,7 @@ def example_failed(example)

@rspec_dl << Element.new(:dd, class_name: "example failed", html: <<-HTML)
<span class="failed_spec_name">#{h example.description}</span>
<span class="duration">#{duration}</span>
<span class="duration">#{duration}s</span>
<div class="failure">
<div class="message"><pre>#{h output}</pre></div>
</div>
Expand All @@ -71,7 +71,7 @@ def example_passed(example)

@rspec_dl << Element.new(:dd, class_name: "example passed", html: <<-HTML)
<span class="passed_spec_name">#{h example.description}</span>
<span class="duration">#{duration}</span>
<span class="duration">#{duration}s</span>
HTML
end

Expand Down

0 comments on commit 82fd009

Please sign in to comment.