Skip to content

Commit

Permalink
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions opal/opal/rspec/browser_formatter.rb
Original file line number Diff line number Diff line change
@@ -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>
@@ -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

0 comments on commit 82fd009

Please sign in to comment.