Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Avoid including Combinatorics Mixins into the global namespace.

  • Loading branch information...
commit 0f37d658e75ecec9bc88ae580a48d5d9a4032f6c 1 parent 987398a
Postmodern authored

Showing 1 changed file with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. +4 2 spec/derange/cardinality_spec.rb
6 spec/derange/cardinality_spec.rb
... ... @@ -1,9 +1,11 @@
1 1 require 'spec_helper'
2 2 require 'combinatorics/derange/cardinality'
3 3
4   -include Combinatorics, Combinatorics::Derange
5   -
6 4 describe Derange do
  5 + subject do
  6 + Object.new.extend(Combinatorics::Derange)
  7 + end
  8 +
7 9 it 'should alias cardinality to subfactorial' do
8 10 should respond_to(:cardinality)
9 11 end

0 comments on commit 0f37d65

Please sign in to comment.
Something went wrong with that request. Please try again.