web_translate_it 1.10.2 → 2.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe WebTranslateIt::Util do
4
-
5
- describe "Util.version" do
6
- it "should return a String" do
7
- WebTranslateIt::Util.version.should be_a(String)
8
- end
9
- end
10
- end
@@ -1,26 +0,0 @@
1
- require File.expand_path('../spec_helper', __FILE__)
2
-
3
- module WebTranslateIt
4
- class I18n
5
- end
6
- end
7
-
8
- describe WebTranslateIt do
9
-
10
- before(:each) do
11
- WebTranslateIt::I18n.stub(:locale => 'en')
12
- WebTranslateIt::Configuration::Rails = OpenStruct.new(:root => Pathname.new(File.dirname(__FILE__) + "/examples"))
13
- @configuration = WebTranslateIt::Configuration.new
14
- @file = mock(WebTranslateIt::TranslationFile)
15
- @file.stub(:fetch => true, :locale => true)
16
- @configuration.stub(:files => [@file])
17
- WebTranslateIt::Configuration.stub(:new => @configuration)
18
- end
19
-
20
- describe "WebTranslateIt.fetch_translations" do
21
- it "should fetch the configuration" do
22
- WebTranslateIt::Configuration.should_receive(:new)
23
- WebTranslateIt.fetch_translations
24
- end
25
- end
26
- end
data/version.yml DELETED
@@ -1,4 +0,0 @@
1
- :major: 1
2
- :minor: 10
3
- :patch: 2
4
-