Skip to content

Commit

Permalink
Cleanup some more filters
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Sep 21, 2013
1 parent 4f59ade commit 4af475c
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 20 deletions.
4 changes: 0 additions & 4 deletions spec/filters/bugs/ancestors.rb

This file was deleted.

1 change: 1 addition & 0 deletions spec/filters/bugs/array.rb
@@ -1,4 +1,5 @@
opal_filter "Array" do
fails "Array includes Enumerable"
fails "Array#at raises a TypeError when the passed argument can't be coerced to Integer"

fails "Array#combination generates from a defensive copy, ignoring mutations"
Expand Down
@@ -1,4 +1,6 @@
opal_filter "Kernel#rand" do
opal_filter "Kernel" do
fails "A class definition allows the definition of class-level instance variables in a class method"

fails "Kernel.rand returns a float if no argument is passed"
fails "Kernel.rand returns an integer for an integer argument"
end
3 changes: 0 additions & 3 deletions spec/filters/bugs/kernel/instance_variables.rb

This file was deleted.

@@ -1,4 +1,9 @@
opal_filter "Module#method_defined?" do
opal_filter "Module" do
fails "A class definition has no class variables"
fails "A class definition allows the declaration of class variables in the body"
fails "A class definition allows the declaration of class variables in a class method"
fails "A class definition allows the declaration of class variables in an instance method"

fails "Module#method_defined? converts the given name to a string using to_str"
fails "Module#method_defined? raises a TypeError when the given object is not a string/symbol/fixnum"
fails "Module#method_defined? does not search Object or Kernel when called on a module"
Expand Down
6 changes: 0 additions & 6 deletions spec/filters/bugs/module/class_variables.rb

This file was deleted.

@@ -1,4 +1,4 @@
opal_filter "Singleton#instance" do
opal_filter "Singleton" do
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"
end
@@ -1,4 +1,6 @@
opal_filter "String#center" do
opal_filter "String" do
fails "String#center with length, padding pads with whitespace if no padstr is given"
fails "String#center with length, padding returns a new string of specified length with self centered and padded with padstr"

fails "String#lines should split on the default record separator and return enumerator if not block is given"
end
3 changes: 0 additions & 3 deletions spec/filters/bugs/string/lines.rb

This file was deleted.

0 comments on commit 4af475c

Please sign in to comment.