Skip to content

Commit

Permalink
Run all specs for Singleton from rubyspec
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Sep 21, 2013
1 parent 225df09 commit e6fe210
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 65 deletions.
4 changes: 4 additions & 0 deletions spec/filters/bugs/singleton.rb
@@ -1,4 +1,8 @@
opal_filter "Singleton" do
fails "Singleton.allocate is a private method"
fails "Singleton#_dump returns an empty string"
fails "Singleton#_dump returns an empty string from a singleton subclass"
fails "Singleton.instance returns an instance of the singleton's clone"
fails "Singleton.instance returns the same instance for multiple class to instance on clones"
fails "Singleton.new is a private method"
end
8 changes: 0 additions & 8 deletions spec/rubyspec/library/singleton/clone_spec.rb

This file was deleted.

8 changes: 0 additions & 8 deletions spec/rubyspec/library/singleton/dup_spec.rb

This file was deleted.

18 changes: 0 additions & 18 deletions spec/rubyspec/library/singleton/fixtures/classes.rb

This file was deleted.

30 changes: 0 additions & 30 deletions spec/rubyspec/library/singleton/instance_spec.rb

This file was deleted.

10 changes: 9 additions & 1 deletion spec/rubyspecs
Expand Up @@ -178,4 +178,12 @@ core/hash/to_a_spec
core/hash/update_spec
core/hash/value_spec
core/hash/values_at_spec
core/hash/values_spec
core/hash/values_spec
library/singleton/allocate_spec
library/singleton/clone_spec
library/singleton/dump_spec
library/singleton/dup_spec
library/singleton/instance_spec
library/singleton/instantiate_spec
library/singleton/load_spec
library/singleton/new_spec

0 comments on commit e6fe210

Please sign in to comment.