Skip to content

Commit

Permalink
enabled rspec examples
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Feb 28, 2014
1 parent 96f7014 commit 853652e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions spec/spec_50bayes_filter.rb → spec/50bayes_filter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ module Hiki
class Plugin
end
end

require 'spec_helper'

require "tmpdir"
require "hiki/filter"
require "plugin/ja/50bayes_filter"
Expand Down
3 changes: 2 additions & 1 deletion spec/spec_bayes_filter.rb → spec/bayes_filter_spec.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Copyright (C) 2008, KURODA Hiraku <hiraku@hinet.mydns.jp>
# You can redistribute it and/or modify it under GPL2.

require 'spec_helper'

require "tmpdir"
require "fileutils"
require "hiki/command"
$: << "hiki"

module SetupBayesFilter

Expand Down
2 changes: 2 additions & 0 deletions spec/spec_filter.rb → spec/filter_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Copyright (C) 2008, KURODA Hiraku <hiraku@hinet.mydns.jp>
# You can redistribute it and/or modify it under GPL2.

require 'spec_helper'

require "tmpdir"
require "fileutils"
require "hiki/command"
Expand Down
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$:.unshift File.expand_path(File.join(File.dirname(__FILE__), '..')).untaint

0 comments on commit 853652e

Please sign in to comment.