Sha256: 6bed3a07a6a89983e5486db553b348b419a6497197ed02d05cda7ada6f3b415d

Contents?: true

Size: 689 Bytes

Versions: 32

Compression:

Stored size: 689 Bytes

Contents

require 'spec_helper'

module Spec
  module Runner
    describe ExampleGroupRunner do
      before(:each) do
        err = StringIO.new('')
        out = StringIO.new('')
        @options = Options.new(err, out)
        @runner = Spec::Runner::ExampleGroupRunner.new(@options)
      end

      after(:each) do
        Spec::Expectations.differ = nil
      end

      describe "#load_files" do
        it "should load UTF-8 encoded files" do
          file = File.expand_path(File.dirname(__FILE__) + "/resources/utf8_encoded.rb")
          @options.files << file
          @runner.load_files(@options.files_to_load).should == @options.files_to_load
        end
      end
    end
  end
end

Version data entries

32 entries across 32 versions & 11 rubygems

Version Path
rspec-instructure-1.3.3 spec/spec/runner/example_group_runner_spec.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/rspec-1.3.2/spec/spec/runner/example_group_runner_spec.rb
rspec-1.3.2 spec/spec/runner/example_group_runner_spec.rb
rspec-1.3.1 spec/spec/runner/example_group_runner_spec.rb
rspec-1.3.1.rc spec/spec/runner/example_group_runner_spec.rb
rspec-1.3.0 spec/spec/runner/example_group_runner_spec.rb
hubbub-0.0.11 lib/vendor/plugins/rspec/spec/spec/runner/example_group_runner_spec.rb
hubbub-0.0.10 lib/vendor/plugins/rspec/spec/spec/runner/example_group_runner_spec.rb
hubbub-0.0.9 lib/vendor/plugins/rspec/spec/spec/runner/example_group_runner_spec.rb
hubbub-0.0.8 lib/vendor/plugins/rspec/spec/spec/runner/example_group_runner_spec.rb
hubbub-0.0.6 lib/vendor/plugins/rspec/spec/spec/runner/example_group_runner_spec.rb
simple-templater-0.0.1.4 gems/gems/rspec-1.2.9/spec/spec/runner/example_group_runner_spec.rb
media-path-0.1.2 vendor/rspec/spec/spec/runner/example_group_runner_spec.rb
simple-templater-0.0.1.3 vendor/rspec/spec/spec/runner/example_group_runner_spec.rb
pupu-0.0.2.pre vendor/rspec/spec/spec/runner/example_group_runner_spec.rb
media-path-0.1.1.pre vendor/rspec/spec/spec/runner/example_group_runner_spec.rb
simple-templater-0.0.1.2 vendor/rspec/spec/spec/runner/example_group_runner_spec.rb
media-path-0.1.1 vendor/rspec/spec/spec/runner/example_group_runner_spec.rb
simple-templater-0.0.1.1 vendor/rspec/spec/spec/runner/example_group_runner_spec.rb
pupu-0.0.2 vendor/rspec/spec/spec/runner/example_group_runner_spec.rb