Sha256: f8670a429c6bb416a3bbd0ac8efc0a3a9d1105b6e00ecba3802f67e3769ca467
Contents?: true
Size: 628 Bytes
Versions: 1
Compression:
Stored size: 628 Bytes
Contents
require 'spec_helper' include Spec::DSL describe Main do before(:each) do @languages = ["en", "pt", "es"] end describe 'the manipulation of methods of the domain specific language' do it "should have the methods of the dsl keywords of the language specified" do @languages.each do |language| Spec::Runner.configuration.spec_language(language) dsl_keywords = SpecI18n::Parser::NaturalLanguage.get(language).dsl_keywords dsl_keywords.values.flatten.each do |keyword| Main.methods.should be_include(keyword) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspec-i18n-1.0.0 | spec/spec-i18n/dsl/main_spec.rb |