```ruby
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

Dir.glob('locales/*.yml').each do |locale_file|
  describe "a kaminari-i18n #{locale_file} locale file" do
    it_behaves_like 'a valid locale file', locale_file
    it { locale_file.should be_a_subset_of 'locales/en.yml' }
  end
end
```

Update to rspec's expect syntax
user
```ruby
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

Dir.glob('locales/*.yml').each do |locale_file|
  describe locale_file do
    it_behaves_like 'a valid locale file', locale_file
    it { is_expected.to be_a_subset_of 'locales/en.yml' }
  end
end
```
assistant