Sha256: 23d5fb762931b6665bb07ef355f5e47cc83104eef336650ea592f0031da039c9
Contents?: true
Size: 874 Bytes
Versions: 1
Compression:
Stored size: 874 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/helper') describe "Filters" do Dir[File.expand_path("../../lib/tennpipes-su/locale/admin/*.yml", __FILE__)].each do |file| name = File.basename(file, '.yml') it "should have a vaild #{name} locale for admin" do base = YAML.load_file(file) base = base[name]['tennpipes']['admin'] assert base.present? assert base['save'].present? assert base['cancel'].present? assert base['list'].present? assert base['edit'].present? assert base['new'].present? assert base['show'].present? assert base['delete'].present? assert base['confirm'].present? assert base['created_at'].present? assert base['all'].present? assert base['profile'].present? assert base['settings'].present? assert base['logout'].present? end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tennpipes-su-3.6.6 | test/test_locale.rb |